The online racing simulator
Searching in All forums
(951 results)
Yisc[NL]
S3 licensed
Would that be useful?
Since you already have a list of connected players in LFS it self.
Press N to bring it up, where N has a cycle of 3 functions (Names over cars, Names off, Connection list)
Yisc[NL]
S3 licensed
The first question is very easy to do within Lapper.
You need to define a global variable in the OnLapperStart event and then give that global variable the value zero.

Then there are two ways to deal with your request:

If you want to know how many people are on the server, you will need to raise your global variable by 1 in the OnConnect event and lower it by 1 in the OnDisconnect event.

If you want to know how many people are actualy on the track, you will need to raise your global variable by 1 in the OnNewPlayerJoin event and lower it by 1 in the OnLeaveRace event.

===

I have no clue what you mean with your second question, so maybe you could explain that a bit more.
Yisc[NL]
S3 licensed
Quote from mikail669220 :I couldn't have what I want ready files you merged it in

I don't know what to read into that comment, but it doesn't sound very friendly.
All the info you need has been given, so now it's up to you to make the best of it.
Yisc[NL]
S3 licensed
No, that's the basic Lapper software, which you will need to set up to work with your LFS server.
Once that is done, grab the Registration system and add that to Lapper, as I explained earlier.
Yisc[NL]
S3 licensed
Quote from mikail669220 :can you give a link to which I'll run lapper lapper ?

Here's the latest version of Lapper.
Yisc[NL]
S3 licensed
Download the file mentioned in the thread I just gave the link from. Save it in the "includes" folder of Lapper and rename it to reg_system.lpr
Then open the file "addonsused.lpr" and add the following line under section "General includes": include( "./reg_system.lpr");
Link to registration system
Yisc[NL]
S3 licensed
You can find the registration system here: https://www.lfs.net/forum/post/1895608#post1895608
Yisc[NL]
S3 licensed
This is the second thread you started in this section and just like the first one, it doesn't make sense at all. I don't mind someone having trouble writing in english, but at least try to the best of your abbilities to say what it is exactly, that you want?

Your title says something about an online registration system, while your actual message says something about LFS system log files.
Those things are totaly unrelated.
Yisc[NL]
S3 licensed
Taking away the option of hosting servers your self, would punish all the people who did pay for LFS. I'm running 6 servers for many years now and coded a lot of great scripts within the Lapper environment. I would feel gutted not be able to do all those things anymore. When trying to stop criminals, you shouldn't punish the people playing by the book (which the industry has done for many years with all sorts of creepy DRM systems), but they should go after the abusers. Sadly that will cost a lot of time, energy and not to mention money, so it's advisable to weigh the options carefuly.
Registration system - V1.08
Yisc[NL]
S3 licensed
Registration system - V1.08 (to add an extra layer of protection against unwanted people on your server)

Changelog:

-Disabled the possibility to register accounts, while not all the required fields where filled
-Added a module to manage registered accounts (to be accessed using: !manreg *)
-Disabled a piece of probably obsolete code
-Added check to see if LFSusername already has an account when admin tries to add one

* this will only work when accounts are stored using the number method, which can be configured in the configuration module (!confreg)

Change the extension of the file to .lpr and add them to addonsused.lpr to be able to use it.



Last edited by Yisc[NL], .
Registration system - V1.07
Yisc[NL]
S3 licensed
Registration system - V1.07 (to add an extra layer of protection against unwanted people on your server)

Changelog:

-Added a new way to store accounts, can be used to avoid accounts with the same name
-Made the new store method configurable
-Made the check on accounts with the same name configurable
-Fixed an issue with an empty screen when no account could be found
-Fixed a bug with "$register_join_check" where a ; was missing in the code
-Added an extra command !login to be excuted by admins, after they registered them self
-Added a variable to reflect the version number of the code

Change the extension of the file to .lpr and add them to addonsused.lpr to be able to use it.
Yisc[NL]
S3 licensed
Quote from nacim :It's a laptop, the processor is an U model, for ultrabooks and thin laptops, he just can't upgrade it. That's why desktop PCs are the best.

Ah, I see.
He was constantly talking about old and new PC, so I assumed he was actualy talking about a Personal Computer instead of a laptop.
And I agree, laptops (except the gaming series) aren't made to play games on, although their hardware is becoming better and better.
Yisc[NL]
S3 licensed
Your old card was AMD Radeon 7400M series and the new one is Intel 5500 series.
I never liked onboard GPU's anyway, but the AMD one was probably better then the curren Intel one.
My advice would be to buy a seperate graphics card from either AMD or NVidia and put that in your pc.
You don't need an highend model by any means, so it can't be too costly and could even be a card someone has already used (second hand).
Yisc[NL]
S3 licensed
Both your processor as the amount of memory are more then sufficient to run LFS properly.
So the problem must either be in your graphics card or in other programs eating so much processor time, that it can't run LFS properly.

*edit*

Link to the image with the specs of your old pc: http://i.imgur.com/6PzkZBY.png
Yisc[NL]
S3 licensed
It would be very useful to describe any problems as detailed as possible.

-Do you have admin rights on the server or not?
-Have you created an account within the registration system?
-Which version of the script are you running?
-Which version of Lapper are you running?

Recently I invested a lot of time on searching for a reported issue and it turned out that the person wasn't running the latest version of Lapper (which is 6.0.1.4-v15) which caused allsorts of weird behavior.
Registration system - V1.06
Yisc[NL]
S3 licensed
Registration system - V1.06 (to add an extra layer of protection against unwanted people on your server)

Changelog:

-Made the exclusion of Admins a configurable option (default setting is: yes)
-Updated the layout of the configuration screen (!confreg) a bit
-Fixed the number of login attemps left, that could go below zero
-Updated the login screen, so that is closes (for local admins) when login attemps reach zero

Change the extension of the file to .lpr and add them to addonsused.lpr to be able to use it.
Yisc[NL]
S3 licensed
Quote from Popughini :Someone could make me a message when you walk through the 302 node say speed? please


Event OnLapperStart()
RegisterNodeAction( "BL1" , 302 , DisplaySpeed,"" );
EndEvent

Sub DisplaySpeed( $userName ) # Lapper Event
globalMsg( GetCurrentPlayerVar("NickName") . " ^7drove " . GetCurrentPlayerVar("InstantSpeed") . GetCurrentPlayerVar ("UnitSpeed") );
EndSub

Yisc[NL]
S3 licensed
Quote from Popughini :Download system please?

I don't think anyone will reply to a posting in a 5 year old topic.
Not to mention the fact that the topic starter is no longer welcome on this forum.
Registration system - V1.05
Yisc[NL]
S3 licensed
Registration system - V1.05 (to add an extra layer of protection against unwanted people on your server)

Change the extension of the file to .lpr and add them to addonsused.lpr to be able to use it.
Yisc[NL]
S3 licensed
I'm usualy not participating in topics like these, since I know that people (mostly online) will keep moaning anyway, but this time I want to drop in my 2 cents.
If you would realise where this game has came from (I started playing just before S2 was finished) to what it is now, you can only say that Scawen is doing a superb job.
Yes, he does it at his own pace and works mostly on the things he find relevant, but then again, that is his choice to make.
He stopped working for a boss, because he was fedup of other people telling him what to do, when to do it and how he should do it, while he felt (and right he is) that he could do much better then those game selling companies.

Just take the last patch for example.
Many people will feel it was time wasted on optimalisations, while the current hardware is strong enough to run the game properly anyway.
While that is mostly true, it was creating a basis for the game to build on, so when the graphics will drasticly be improved, the game will still run fine on most of the hardware.
Besides that, the game is incredible stable as it is.
Network layer is one of the best I've seen in any game and the game gives people so much freedom to play as they wish as well.
Many cars to choose, many tracks (and combos within one track) to choose, the option to create and store your own layouts and then there's the option to do all sorts of things using the Insim protocol.
How many games have so much freedom for the players and is very cheap as well.
You only have to pay once (okay, per license (S1,S2, etc.) and then you can play as much as you want and get totaly free updates for a very long time to top it off.

As said, I'm not going to waste valuable time on trying to stop all the moaners from moaning (sadly the internet in general has become a place of people moaning, bitching, trolling, etc.) as it will be undoable, but realise what this game already is and what it is giving you in relation to what you have paid for it.
Yisc[NL]
S3 licensed
Quote from 5Loody-g27 :Can you fix it?
Because they actually cause errors in the program is running correctly

I think I can.
Will send you a private message on this forum, telling you my email address, so you can mail your whole Lapper directory to me.
Yisc[NL]
S3 licensed
The message actualy is a bug within Lapper, where an incorrect value is crashing the application, while that should be handled properly.
It has to do with handling arrays or a value which isn't converted to the proper data-type.
Such errors have taken me a long time to figure out, but it's doable.
Yisc[NL]
S3 licensed
The error in line 528 probably has to do with a sub-routine being called without the right number arguments like $KeyFlags or $KeyFlags,$id
It's happening in the onconnect event.

The error in line 559 has to to with a button that is opened in the onnewplayerjoin event, but hasn't got all the needed parameters (like witdht, height, length ect.)

The error in line 636 isn't specific enough to determine here without seeing the code, but is happening in the onconnectwns2 event.

The final two warnings are telling you that files admin2.txt and admin1.txt can't be found on the specified location.
If memory serves me right, they are used in one of the CIF modules build by Kravy.
Yisc[NL]
S3 licensed
I'm still not sure I totally understand what the button should do for you and any other players.
The way I made it now, is that every player gets his own button and when he clicks on it, his own button will go away for 6 seconds.
But when I click my button at let's say 22:30:00, it will come back to me at 22:30:06.
While if you click yours at 22:30:02, it will come back to you at 22:30:08.

On the other hand, if it was one button shown to all connected players (that isn't possible, but there is a way to pretent it is the same button for everyone), it would come down to the first player clicking it, then it goes away on everyones screen and will come back to everyone after 6 seconds.

I have no idea what you mean by "the bump 2 cars colliding is expelled".
Lapper can't detect colliding cars at all, so if you are looking to make that work, you can stop here and now.
Yisc[NL]
S3 licensed

openPrivButton( "event",78,120,20,10,10,-1,ISB_DARK,"^1EVENT",ButtonEvent );

Sub ButtonEvent( $KeyFlags,$id )
closePrivButton("event");
PrivDelayedCommand( 6, ButtonEvent2 );
EndSub

Sub ButtonEvent2( $KeyFlags )
openPrivButton( "event",78,120,20,10,10,-1,ISB_DARK,"^2EVENT",ButtonEvent );
EndSub

I have placed the OpenPrivButton in the OnConnect Event, so that everyone who connects to the server, gets that button.
As soon as you click it, ButtonEvent is called, which closes the button and then executes a DelayedCommand after 6 seconds, to go to ButtonEvent2.
In that event, the button is opened again and when you click it, ButtonEvent is called again.

I hope this is what you want, since you can't draw global buttons.
There is a way to work around that, but I haven't got time to work that out right now.
FGED GREDG RDFGDR GSFDG